package com.demo.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demo.entity.Department;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 医院科室信息表 Mapper 接口
 * @author zm
 * @since 2020-11-26
 */
public interface DepartmentMapper extends BaseMapper<Department> {

    List<Integer> getAllDeptNo();

    List<Integer> getAllDeptSn();

    String getDeptName(@Param("deptSn") Integer paramInteger);

    Department getdeptNoList(@Param("deptSn") Integer paramInteger);

    Department getdeptSn(@Param("deptSn") Integer paramInteger);

    Department getdeptMapping(@Param("deptMapping") Integer paramInteger);

    Department getDeptByName(@Param("deptAreaName") String paramString);

    List<Department> getdeptSnList(@Param("deptSn") Integer paramInteger);

    List<Department> getDeptListByInDeptSn(@Param("deptSnArray") int[] paramArrayOfint);

    List<Department> getdeptMappingList(@Param("deptMapping") Integer paramInteger);

}
